import { createApp } from "vue";
import pinia from "./stores";
import ElementPlus from "element-plus";
// import zhCn from "element-plus/es/locale/lang/zh-cn";
import "element-plus/dist/index.css";
import App from "./App.vue";
import router from "./router";
import "./styles/index.scss";
// import "./permission";.
import Vuelazyload from "vue-lazyload";

const app = createApp(App);

app.use(pinia).use(router).use(ElementPlus).use(Vuelazyload).mount("#app");
